/ Assembly List / LJCDBMessage / DbCommon / RequestDataKeys

Namespace - LJCDBMessage


Parameters
keyColumns - The Key record object.
baseDefinition - The Base DataDefinition columns.

Returns

The DbColumns object.

Syntax

C#
public static DbColumns RequestDataKeys(DbColumns keyColumns, DbColumns baseDefinition)

Get Request Key columns from the baseDefinition using the keyColumns.

Remarks

Generally used in the Update() manager method to define the update key columns and values.

Creates a DbColumns collection of data definitions from the baseDefinition parameter whose PropertyName values match the names in the keyColumns parameter.

The DbColumn definitions include the Key Column ColumnName and Value.

A Key Column is not created if it is an AutoIncrement column, the value equals "0" or it is an invalid DateTime.

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.